package com.hoperun.nocserver.common.enums;

/**
 * Response返回编码枚举
 * 
 * @author zhu_longxiang
 *
 */
public enum ResponseEnum {

	SUCCESS(0, "成功"), ERROR(-1, "错误"); // 还有其他，待API完善后补充

	Integer code;
	String msg;

	private ResponseEnum(Integer code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public Integer getCode() {
		return code;
	}

	public String getMsg() {
		return msg;
	}

}
